package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教师规则
 * </p>
 *
 * @author quin.song
 * @since 2023-03-27
 */
@Data
@Accessors(chain = true)
@TableName("rule_teacher_time")
@ApiModel(value = "RuleTeacherTime对象", description = "教师规则")
public class RuleTeacherTime implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    private Long teacherId;

    private String timeCode;

    @ApiModelProperty("0：尽量排；1：固排（一定排）；2：禁排")
    private Integer flag;

    private String schoolId;

    @ApiModelProperty("学期")
    private String term;

    @ApiModelProperty("学院id")
    private String collegeId;



}
